#pragma once
#include "Animation.h"
#include "camera.h"
#include "vector2.h"

class Behaver
{
public:
	Behaver() = default;
	~Behaver() = default;

	virtual void on_draw(int delta) { }
	virtual void on_update(const Camera& camera) { }

	void set_position(const Vector2& position)
	{
		this->position = position;
	}
	void set_size(const Vector2& size)
	{
		this->size = size;
	}
protected:
	Vector2 position;
	Vector2 size;
};